export interface Key{

    // 键盘名
    name:string

    // 键盘key值
    keyCode:number

    // 键盘key名
    code:string

    // 键盘大小
    size:number


    shiftName:string

}
export enum KeyboardEventMode{
    EMPTY,
    SIMPLE,
    ALL
}

export interface KeyboardEventConfig{

    mode:KeyboardEventMode
    include?:Array<string>
    exclude?:Array<string>

    // 输入间隔时间
    duration?:number

    // 事件回调
    callback?:(index?:number,name?:string,keyList?:Array<Key>)=>void
}